home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 31
/
Amiga Format CD31 (1998-09-02)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1998-10].iso
/
-readerstuff-
/
kevin_mckenna
/
kaiclock
/
kaiclock-install
next >
Wrap
Text File
|
1998-07-16
|
6KB
|
257 lines
(message "\nKaiClock © 1998 Kai Software\n\n\n"
"This script will install KaiClock "
"on your hard drive")
(set default-dest
(tackon (askdir (prompt "Where would you like to install KaiClock?\n"
"A drawer called 'KaiClock' will be created there.")
(help @askdir-help)
(default @default-dest)
)
"KaiClock"
)
)
(set @default-dest default-dest)
(complete 30)
(makedir @default-dest
(infos)
)
;**********************
; Copying the Keyfile
;**********************
(copyfiles (source "KaiClock/Keyfile")
(dest (tackon @default-dest "S:"))
(all)
)
;**************************
; Copying the Font
;**************************
(copyfiles (source "KaiClock/Fonts")
(dest (tackon @default-dest "FONTS:"))
(all)
)
;****************************
; Ask which and install icons
;****************************
(set #ICONS
(askchoice
(prompt "\nWhich type of icons do want to install?")
(help "\nHi! Just select one of the icon types.")
(default 2)
(choices
"MagicWB Icons"
"NewIcons"
"Standard Workbench Icons"
)
)
)
;*************
;* MWB Icons *
;*************
;**********************************
; (MWB) Start Copying Docs + Icon
;**********************************
(if (= #ICONS 0)
(copyfiles (source "KaiClock/Docs")
(dest (tackon @default-dest "Docs"))
(all)
)
)
(if (= #ICONS 0)
(copyfiles (source "KaiClock/Icons/MWB/Docs")
(dest (tackon @default-dest "Docs"))
(all)
)
)
(if (= #ICONS 0)
(copyfiles (source "KaiClock/Icons/MWB/Docs.info") (dest @default-dest))
)
;************************************
; (MWB) Finish Copying Docs + Icon
;************************************
;*********************************************
; (MWB) Start Copying AppIcon Drawer + Icon
;*********************************************
(if (= #ICONS 0)
(copyfiles (source "KaiClock/AppIcon")
(dest (tackon @default-dest "AppIcon"))
(all)
)
)
(if (= #ICONS 0)
(copyfiles (source "KaiClock/Icons/MWB/AppIcon")
(dest (tackon @default-dest "AppIcon"))
(all)
)
)
(if (= #ICONS 0)
(copyfiles (source "KaiClock/Icons/MWB/AppIcon.info") (dest @default-dest))
)
;**********************************************
; (MWB) Finish Copying AppIcon Drawer + Icon
;**********************************************
;***************************************
; (MWB) Start Copying KaiClock + Icon
;***************************************
(if (= #ICONS 0)
(copyfiles (source "KaiClock/KaiClock") (dest @default-dest))
)
(if (= #ICONS 0)
(copyfiles (source "KaiClock/Icons/MWB/Kaiclock.info") (dest @default-dest))
)
;******************************************
; (MWB) Finishing Copying KaiClock + Icon
;******************************************
;************
;* NewIcons *
;************
;**********************************
; (NI) Start Copying Docs + Icon
;**********************************
(if (= #ICONS 1)
(copyfiles (source "KaiClock/Docs")
(dest (tackon @default-dest "Docs"))
(all)
)
)
(if (= #ICONS 1)
(copyfiles (source "KaiClock/Icons/NewIcons/Docs")
(dest (tackon @default-dest "Docs"))
(all)
)
)
(if (= #ICONS 1)
(copyfiles (source "KaiClock/Icons/NewIcons/Docs.info") (dest @default-dest))
)
;************************************
; (NI) Finish Copying Docs + Icon
;************************************
;*********************************************
; (NI) Start Copying AppIcon Drawer + Icon
;*********************************************
(if (= #ICONS 1)
(copyfiles (source "KaiClock/AppIcon")
(dest (tackon @default-dest "AppIcon"))
(all)
)
)
(if (= #ICONS 1)
(copyfiles (source "KaiClock/Icons/NewIcons/AppIcon")
(dest (tackon @default-dest "AppIcon"))
(all)
)
)
(if (= #ICONS 1)
(copyfiles (source "KaiClock/Icons/NewIcons/AppIcon.info") (dest @default-dest))
)
;**********************************************
; (NI) Finish Copying AppIcon Drawer + Icon
;**********************************************
;***************************************
; (NI) Start Copying KaiClock + Icon
;***************************************
(if (= #ICONS 1)
(copyfiles (source "KaiClock/KaiClock") (dest @default-dest))
)
(if (= #ICONS 1)
(copyfiles (source "KaiClock/Icons/NewIcons/Kaiclock.info") (dest @default-dest))
)
;******************************************
; (NI) Finishing Copying KaiClock + Icon
;******************************************
;******************
;* Standard Icons *
;******************
;**********************************
; (SI) Start Copying Docs + Icon
;**********************************
(if (= #ICONS 2)
(copyfiles (source "KaiClock/Docs")
(dest (tackon @default-dest "Docs"))
(all)
)
)
(if (= #ICONS 2)
(copyfiles (source "KaiClock/Docs.info") (dest @default-dest))
)
;************************************
; (SI) Finish Copying Docs + Icon
;************************************
;*********************************************
; (SI) Start Copying AppIcon Drawer + Icon
;*********************************************
(if (= #ICONS 2)
(copyfiles (source "KaiClock/AppIcon")
(dest (tackon @default-dest "AppIcon"))
(all)
)
)
(if (= #ICONS 2)
(copyfiles (source "KaiClock/AppIcon.info") (dest @default-dest))
)
;**********************************************
; (SI) Finish Copying AppIcon Drawer + Icon
;**********************************************
;***************************************
; (SI) Start Copying KaiClock + Icon
;***************************************
(if (= #ICONS 2)
(copyfiles (source "KaiClock/KaiClock") (dest @default-dest))
)
(if (= #ICONS 2)
(copyfiles (source "KaiClock/Kaiclock.info") (dest @default-dest))
)
;******************************************
; (SI) Finishing Copying KaiClock + Icon
;******************************************
(complete 100)